package com.tensquare.base.pojo;
/*
 *ClassName:Label
 *Description:标签的实体类
 *@author:可爱的大鸭子
 */

import javafx.fxml.Initializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name="tb_label")
public class Label implements Serializable{
    @Id
    private String id;          //主键id
    private String labelname;   //标签名称
    private String state;       //状态：0：无效 1：有效
    private Long count;         //使用数量
    private Long fans;          //关注数
    private String recommend;   //是否推荐：0：不推荐 1:推荐

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLabelname() {
        return labelname;
    }

    public void setLabelname(String labelname) {
        this.labelname = labelname;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getFans() {
        return fans;
    }

    public void setFans(Long fans) {
        this.fans = fans;
    }

    public String getRecommend() {
        return recommend;
    }

    public void setRecommend(String recommend) {
        this.recommend = recommend;
    }
}
